
package com.ljy.system.marvel_sys.system.model.permission;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
 * 〈功能简述〉<br>
 * 〈菜单〉
 *
 * @author LiJunYi
 * @create 2019/7/3
 * @since 1.0.0
 */
@Data
public class Permission implements Serializable {

    private long id;
    private String name;
    private String url;
    private long pid;
    private String icon;
    @TableField(exist = false)
    private List<Permission> children = new ArrayList<Permission>();
}
